package tr.edu.yildiz.ce.dap.appagent.process.base;

import java.util.List;

import tr.edu.yildiz.ce.dap.appagent.manager.AgentProcessManager;

public abstract class AbstractProcess{

	boolean stop;
	AgentProcessManager processManager;
	
	public AbstractProcess(AgentProcessManager processManager) {
		this.processManager = processManager;
		processManager.getProcessList().add(this);
	}
	
	public void stop() {
		this.stop = true;
	}
	
	public boolean isStop() {
		return stop;
	}
	
	public AgentProcessManager getProcessManager() {
		return processManager;
	}
	
}
